package com.financial.business.integral.connector;

import com.financial.business.integral.utils.apiresult.ApiResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author WANGNING
 * @date 2019/11/4
 * @email wyn20140226@aliyun.com
 * @des 配置中心
 */
@Service
@FeignClient(name = "financial-service-sysconfig")
public interface SysconfigFeign {
    /*获取支付平台信息*/
    @RequestMapping(value = "/platfrom/info", method = RequestMethod.GET)
    String getPlatfromInfo(@RequestParam String platfromMarking);

    /*获取平台编码*/
    @RequestMapping(value = "/pay/getParamInfo", method = RequestMethod.POST)
    ApiResult platfromInfo(@RequestParam String payChannelNo);
}
